[INFO] cloning repository https://github.com/linusconcepcion/advent2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linusconcepcion/advent2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b204bf228fdb176c49b277a2ee9919345356a6c
[INFO] testing linusconcepcion/advent2020 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/linusconcepcion/advent2020
[INFO] finished tweaking git repo https://github.com/linusconcepcion/advent2020
[INFO] tweaked toml for git repo https://github.com/linusconcepcion/advent2020 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/linusconcepcion/advent2020 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/linusconcepcion/advent2020 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4cf5a188cdc63dd96b09a569918a3d78612d713284ea722f9ba1045575077cdf
[INFO] running `Command { std: "docker" "start" "-a" "4cf5a188cdc63dd96b09a569918a3d78612d713284ea722f9ba1045575077cdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4cf5a188cdc63dd96b09a569918a3d78612d713284ea722f9ba1045575077cdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cf5a188cdc63dd96b09a569918a3d78612d713284ea722f9ba1045575077cdf", kill_on_drop: false }`
[INFO] [stdout] 4cf5a188cdc63dd96b09a569918a3d78612d713284ea722f9ba1045575077cdf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b4babedc8a44bc70009e3ff221b57af68579dbfd4e9db2c755c9c165e7f5c380
[INFO] running `Command { std: "docker" "start" "-a" "b4babedc8a44bc70009e3ff221b57af68579dbfd4e9db2c755c9c165e7f5c380", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling advent2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day19.rs:77:77
[INFO] [stdout]    |
[INFO] [stdout] 77 |             None => &Rule::process_definition(self.number, self.definition, |ids| { Rule::expand_value(ids, all, cache, counters) })
[INFO] [stdout]    |                      ------------------------                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found closure
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `for<'a> fn(&'a str) -> Vec<String>`
[INFO] [stdout]                  found closure `{closure@src/day19.rs:77:77: 77:82}`
[INFO] [stdout] note: closures can only be coerced to `fn` types if they do not capture any variables
[INFO] [stdout]   --> src/day19.rs:77:109
[INFO] [stdout]    |
[INFO] [stdout] 77 |             None => &Rule::process_definition(self.number, self.definition, |ids| { Rule::expand_value(ids, all, cache, counters) })
[INFO] [stdout]    |                                                                                                             ^^^  ^^^^^  ^^^^^^^^ `counters` captured here
[INFO] [stdout]    |                                                                                                             |    |
[INFO] [stdout]    |                                                                                                             |    `cache` captured here
[INFO] [stdout]    |                                                                                                             `all` captured here
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/day19.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn process_definition(number: i32, definition: String, expandfunc: fn(ids: &str) -> Vec<String>) -> Vec<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^                                  ----------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day16.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     for mut field in fields {
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> src/day19.rs:83:27
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn process_definition(number: i32, definition: String, expandfunc: fn(ids: &str) -> Vec<String>) -> Vec<String> {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent2020` (bin "advent2020") due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b4babedc8a44bc70009e3ff221b57af68579dbfd4e9db2c755c9c165e7f5c380", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4babedc8a44bc70009e3ff221b57af68579dbfd4e9db2c755c9c165e7f5c380", kill_on_drop: false }`
[INFO] [stdout] b4babedc8a44bc70009e3ff221b57af68579dbfd4e9db2c755c9c165e7f5c380
